# -*- coding:utf-8 -*-

URLS_FILE = 'file/urls.txt'

OUT_FILE = '/Users/fyf/pythond/blogabet/data/stake.xls'

COUNT_TXT = '/Users/fyf/pythond/blogabet/data/badabingos'


def get_excel_name(blogname):
    return '/Users/fyf/pythond/blogabet/data/' + blogname + ".xls"


def get_excel_name_s(blogname, index):
    return '/Users/fyf/pythond/blogabet/data' + index + '/' + blogname + ".xls"


def get_file_name(blogname):
    return '/Users/fyf/pythond/blogabet/data/' + blogname


TIMEOUT = 30

MAX_SCROLL_TIME = 10

TOTAL_URLS_COUNT = 0

NOW_URL_COUNT = 0

LOGIN_URL = 'https://login.taobao.com/member/login.jhtml?spm=a21bo.50862.754894437.1.MVF6jc&f=top&redirectURL=https%3A%2F%2Fwww.taobao.com%2F'

# SEARCH_LINK = 'https://destroy10.blogabet.com/'
# SEARCH_LINK = 'https://fixmod.blogabet.com/'
SEARCH_LINK = 'https://fixmod.blogabet.com/'

SPORT_LIST = ['Tennis' 'Combo' 'E Sports' 'Basketball' 'Football' 'Baseball'
              'Horse Racing' 'Handball' 'Cycling' 'Ski Jumping' 'Alpine Skiing'
              'Cross Country Skiing' 'WinterSports' 'Volleyball' 'Biathlon'
              'Ice Hockey' 'Boxing' 'Futsal' 'Rugby League' 'Bandy' 'Cricket'
              'Floorball' 'Water Polo' 'MMA' 'Rugby Union' 'Aussie Rules' 'Rugby'
              'Field Hockey' 'Snooker' 'Athletics' 'Badminton' 'Beach Volleyball'
              'Darts' 'Am. Football' 'Table tennis' 'Other' 'Chess' 'Motor Sports'
              'Golf']


def get_search_link(filename):
    return 'https://' + filename + '.blogabet.com/'


CONTENT = ''

PAGE = 25

FILTER_SHOP = False

ANONYMOUS_STR = '***'

IS_DEBUG = True
if IS_DEBUG:
    PROFIT = 'P'
    STAKE = 'S'
    YIELD = 'Y'
    PROFIT_ICON = 'p'
    STAKE_ICON = 's'
    YIELD_ICON = 'y'
else:
    PROFIT = 'Profit'
    STAKE = 'Stake'
    YIELD = 'Yield'
    PROFIT_ICON = '￥'
    STAKE_ICON = 'unit'
    YIELD_ICON = '%'